#ifndef LOG_H
#define LOG_H

#if UNICODE
#define LogDiffCodeMsg LogDiffCodeMsgW
#else
#define LogDiffCodeMsg LogDiffCodeMsgA
#endif

#include "CommonHdr.h"
#include "..\3rdParty\Header\log4cplus\logger.h"
#include "..\3rdParty\Header\log4cplus\loggingmacros.h"
#include "..\3rdParty\Header\log4cplus\configurator.h"

log4cplus::Logger GetLogger(const TChar *name);

void LogDiffCodeMsgW(log4cplus::Logger log,const wchar_t *msgFmt,const std::string &msg);

void LogDiffCodeMsgA(log4cplus::Logger log,const char *msgFmt,const std::string &msg);

#endif